﻿using System;
namespace Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000 {
    
    
    public partial class Tur2 : global::Producers.Ehma10000000.Xtee.Riik.Ee.Producer.Ehma10000000.ITur2 {
        
        private string @__tourid;
        
        private string @__tourname;
        
        private string @__orgform;
        
        private System.DateTime @__tourstart;
        
        private System.DateTime @__tourend;
        
        private string @__tourloc;
        
        private decimal @__partno;
        
        private decimal @__poolam;
        
        private decimal @__totalrake;
        
        private decimal @__pricepool;
        
        private decimal @__totalpayo;
        
        public Tur2() {
        }
        
        /// <summary>
        /// All parameters
        /// </summary>
        public Tur2(string @tourid, string @tourname, string @orgform, System.DateTime @tourstart, System.DateTime @tourend, string @tourloc, decimal @partno, decimal @poolam, decimal @totalrake, decimal @pricepool, decimal @totalpayo) {
            this.@__tourid = @tourid;
            this.@__tourname = @tourname;
            this.@__orgform = @orgform;
            this.@__tourstart = @tourstart;
            this.@__tourend = @tourend;
            this.@__tourloc = @tourloc;
            this.@__partno = @partno;
            this.@__poolam = @poolam;
            this.@__totalrake = @totalrake;
            this.@__pricepool = @pricepool;
            this.@__totalpayo = @totalpayo;
        }
        
        /// <summary>
        /// Copy Constructor
        /// </summary>
        protected Tur2(ITur2 @tur2) {
            this.@__tourid = @tur2.Tourid;
            this.@__tourname = @tur2.Tourname;
            this.@__orgform = @tur2.Orgform;
            this.@__tourstart = @tur2.Tourstart;
            this.@__tourend = @tur2.Tourend;
            this.@__tourloc = @tur2.Tourloc;
            this.@__partno = @tur2.Partno;
            this.@__poolam = @tur2.Poolam;
            this.@__totalrake = @tur2.Totalrake;
            this.@__pricepool = @tur2.Pricepool;
            this.@__totalpayo = @tur2.Totalpayo;
        }
        
        public virtual string Tourid {
            get {
                return this.@__tourid;
            }
            set {
                this.@__tourid = value;
            }
        }
        
        public virtual string Tourname {
            get {
                return this.@__tourname;
            }
            set {
                this.@__tourname = value;
            }
        }
        
        public virtual string Orgform {
            get {
                return this.@__orgform;
            }
            set {
                this.@__orgform = value;
            }
        }
        
        public virtual System.DateTime Tourstart {
            get {
                return this.@__tourstart;
            }
            set {
                this.@__tourstart = value;
            }
        }
        
        public virtual System.DateTime Tourend {
            get {
                return this.@__tourend;
            }
            set {
                this.@__tourend = value;
            }
        }
        
        public virtual string Tourloc {
            get {
                return this.@__tourloc;
            }
            set {
                this.@__tourloc = value;
            }
        }
        
        public virtual decimal Partno {
            get {
                return this.@__partno;
            }
            set {
                this.@__partno = value;
            }
        }
        
        public virtual decimal Poolam {
            get {
                return this.@__poolam;
            }
            set {
                this.@__poolam = value;
            }
        }
        
        public virtual decimal Totalrake {
            get {
                return this.@__totalrake;
            }
            set {
                this.@__totalrake = value;
            }
        }
        
        public virtual decimal Pricepool {
            get {
                return this.@__pricepool;
            }
            set {
                this.@__pricepool = value;
            }
        }
        
        public virtual decimal Totalpayo {
            get {
                return this.@__totalpayo;
            }
            set {
                this.@__totalpayo = value;
            }
        }
    }
}
